package com.trs.publish.repository;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.trs.publish.domain.User;


@Mapper
public interface UserRepository extends BaseRepository<User>{

	User findByName(String username);

	User findByNameAndPassword(@Param("username")String username,@Param("password")String password);

	List<User> findByUser(User user);

	void updateFlag(long id);
   
}